package com.example.compress;

public class NativeLib {

    // Used to load the 'compress' library on application startup.
    static {
        System.loadLibrary("compress");
    }

    /**
     * A native method that is implemented by the 'compress' native library,
     * which is packaged with this application.
     */
    public native String stringFromJNI();

    public native String compressString(String info);

    public native byte[] compress(byte[] info);

    public native byte[] uncompress(byte[] compressData);
}